home *** CD-ROM | disk | FTP | other *** search
- gStrFontSelectionDialog = '$$$/Dialogs/HTML2PDF/HTMLSettings/FontSelection/DialogTitle';
- gStrFontForBodyText = '$$$/Dialogs/HTML2PDF/HTMLSettings/FontSelection/BodyText';
- gStrFontForHeadings = '$$$/Dialogs/HTML2PDF/HTMLSettings/FontSelection/Headings';
- gStrFontForPreFormatted = '$$$/Dialogs/HTML2PDF/HTMLSettings/FontSelection/PreFormatted';
-
- gFontNamePopupWidth = max_char_width() * 15;
- gSampleWidth = gFontNamePopupWidth + (max_char_width() *2);
- gSampleHeight = max_char_width() * 3;
-
- dialog( name: gStrFontSelectionDialog, target: 'btfn' )
- {
- view( align_children: align_left )
- {
- cluster( name: gStrFontForBodyText )
- {
- view( align_children: align_left )
- {
- popup( item_id: 'btfn', width: gFontNamePopupWidth );
- user_item( item_id: 'btsm', width: gSampleWidth, height: gSampleHeight);
- }
- }
- cluster( name: gStrFontForHeadings )
- {
- view( align_children: align_left )
- {
- popup( item_id: 'hdfn', width: gFontNamePopupWidth );
- user_item( item_id: 'hdsm', width: gSampleWidth, height: gSampleHeight);
- }
- }
- cluster( name: gStrFontForPreFormatted )
- {
- view( align_children: align_left )
- {
- popup( item_id: 'pffn', width: gFontNamePopupWidth );
- user_item( item_id: 'pfsm', width: gSampleWidth, height: gSampleHeight);
- }
- }
- ok_cancel();
- }
- }